<%= render  :partial => "apo/navigation" %>

    <div id="content-pri-frame">

      <div id="content-pri-frame-gener">

	<%= error_messages_for "event" %>
	<% form_tag :action => "save_indy_hours" do %>
		<h5> Please fill in the blanks and submit your indy hour project </h5>
    <div class="container">
			<div class="cellRow">
				<div class="cellBlock">Event Name</div>
				<div class="cellBlock"><%= text_field "event" , "name", :maxlength => 35 %></div>
				<div class="cellBlock">Contact Name</div>
				<div class="cellBlock"><%=text_field "event" , "contact", :maxlength => 30 %></div>
			</div>

			<div class="cellRow">
				<div class="cellBlock">Event Date</div>
				<div class="cellBlock"><%= datetime_select("event", "date", :default => Time.now, :order => [:month, :day, :year, :hour, :minute]) %></div>
				<div class="cellBlock">Contact Phone</div>
				<div class="cellBlock"><%=text_field "event" , "contact_phone", :maxlength => 10 %></div>
			</div>
			<div class="cellRow">
				<div class="cellBlock">Number of Hours</div>
				<div class="cellBlock"><%=text_field "event" , "hours", :maxlength => 5 %></div>
				<div class="cellBlock">Address</div>
				<div class="cellBlock"><%=text_field "event" , "address", :maxlength => 40 %></div>
			</div>
			<div class="cellRow">
				<div class="cellBlock">&nbsp;</div>
				<div class="cellBlock">&nbsp;</div>
				<div class="cellBlock">City</div>
				<div class="cellBlock"><%=text_field "event" , "city", :maxlength => 30 %></div>
			</div>
			<div class="cellRow">
				<div class="cellBlock">&nbsp;</div>
				<div class="cellBlock">&nbsp;</div>
				<div class="cellBlock">State</div>
				<div class="cellBlock"><%=text_field "event" , "state", :maxlength => 2 %></div>
			</div>
			<div class="cellRow">
				<div class="cellBlock">&nbsp;</div>
				<div class="cellBlock">&nbsp;</div>
				<div class="cellBlock">Zip Code</div>
				<div class="cellBlock"><%=text_field "event" , "zip", :maxlength => 10 %></div>
			</div>
		</div>

		<div class="container">
			<div class="cellBlock">Description</div>
			<div class="cellBlock"><%=text_area "event" , "description", :size => "100x3", :maxlength => 300 %></div>
		</div>
		<br>
		<%= submit_tag "Submit Indy Hours"%>
	<%end%>
</div>

    </div>

<%= render :partial => "apo/footer" %>